using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YayiMgr.Ability.Docking.Commom;
using YayiMgr.Ability.Docking.SuppliersApp.Dto;
using Youshow.Ace.Ability.Services;

namespace YayiMgr.Ability.Docking.SuppliersApp
{
    public interface ISuppliersServicer: IAbilityServicer
    {

        Task<QueryListDto<SuppliersDto>> GetAllSuppliers();

        Task<QueryListDto<SuppliersDto>> GetSuppliers(SuppliersQueryDto dto);

        Task<ResponseDto<SuppliersDto>> GetSupplierById(Guid id);
        
        Task<ResponseDto<SuppliersDto>> AddSuppliers(SuppliersCreateDto dto);
        
        Task<ResponseDto<SuppliersDto>> UpdateSuppliers(Guid Id, SuppliersUpdateDto dto);
        
        Task<ResponseDto<Object>> DeleteSuppliers(Guid Id);
    }
}